package animix.blue.server.common.bean.tool;

import java.io.Serializable;
import java.util.List;

public class PagedList<T> implements Serializable {

    private List<T> list;

    private Pagination pagination;

    @Override
    public String toString() {
        return "PagedList{" +
                "list=" + list +
                ", pagination=" + pagination +
                '}';
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    public Pagination getPagination() {
        return pagination;
    }

    public void setPagination(Pagination pagination) {
        this.pagination = pagination;
    }
}
